Skip to content

Conversation

@sudomateo
Copy link
Collaborator

Updated the generation logic to serialize both value and pointer literal enum variants the same way. Previously, a value literal enum variant would call its discriminator method (e.g., Type) and return an empty string because the logic only checked for pointer types. Now, the logic checks for both pointer types and value types.

Fixes #367. Fixes SSE-190.

Updated the generation logic to serialize both value and pointer literal
enum variants the same way. Previously, a value literal enum variant would
call its discriminator method (e.g., `Type`) and return an empty string because
the logic only checked for pointer types. Now, the logic checks for both
pointer types and value types.

Fixes #367.
Fixes SSE-190.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent marshalling behavior between value and pointer struct literals

2 participants